-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding the ARSPointCloudFilter node in the Radar ROS2 Pipeline #19
base: main
Are you sure you want to change the base?
Conversation
src/sensor_interfacing/ARSPointCloudFilter/include/ars_pointcloud_filter.hpp
Outdated
Show resolved
Hide resolved
src/sensor_interfacing/ARSPointCloudFilter/src/ars_pointcloud_filter.cpp
Outdated
Show resolved
Hide resolved
src/sensor_interfacing/ARSPointCloudFilter/include/ars_pointcloud_filter_node.hpp
Outdated
Show resolved
Hide resolved
src/sensor_interfacing/ARSPointCloudFilter/include/ars_pointcloud_filter.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly nits for coding conventions. The one thing I am still thinking about is how to remove the need for parameters to be set to -9999.99 because that's difficult to read, let me know if you have any ideas.
src/sensor_interfacing/ContinentalPointCloudFilter/CMakeLists.txt
Outdated
Show resolved
Hide resolved
src/sensor_interfacing/ContinentalPointCloudFilter/CMakeLists.txt
Outdated
Show resolved
Hide resolved
src/sensor_interfacing/ContinentalPointCloudFilter/CMakeLists.txt
Outdated
Show resolved
Hide resolved
|
||
ENTRYPOINT ["/usr/local/bin/fixuid", "-q", "/home/docker/wato_ros_entrypoint.sh"] | ||
|
||
CMD ["tail", "-f", "/dev/null"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Command should run the relevant ROS node or launch file
/** | ||
* @brief Variables only used for common scan filter. | ||
*/ | ||
scan_params near_scan_single_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: near_scan_single_
sounds redundant since a near scan is one scan, try near_scan_
instead and rename the array to near_scane_buffer_
.
* @brief A ROS2 subscription node callback used to unpack raw ARS radar data from the "unfilteredRadarRight" | ||
* topic. | ||
* | ||
* @param msg a raw message from the "unfilteredRadarRight" topic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure the topic name you mention here is the one you are actually listening to.
#include "radar_msgs/msg/radar_packet.hpp" | ||
#include "radar_msgs/msg/radar_detection.hpp" | ||
|
||
namespace filtering |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (near_scan_[buffer_index_].packet_count_ != near_scan_capacity_ || | ||
far_scan_[buffer_index_].packet_count_ != far_scan_capacity_) | ||
{ | ||
RCLCPP_WARN(rclcpp::get_logger("rclcpp"), "Incomplete total packet count! Not 30.\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Warning could provide more information to the user, i.e. Received incomplete radar packet with %d messages, expected 30
.
Adding a ROS2 node that filters and publishes radar detections (near scan and far scan) from the Continental ARS430 radar sensor for visualization and object detection in the Radar ROS2 Pipeline. Please refer to the figure below for more details.
Note: When testing the node, about 38 tests will get executed. This includes all the unit tests for the filters as well.
ClickUp Task: Radar ROS2 Pipeline
(Migrate the ROS1 code for the old continental driver to ROS2 and support inference with CenterFusion and visualization of pointclouds/bounding boxes in RViz)